package com.yvon.maple.service.auth.valicode.validate.code.processor;

import com.yvon.maple.service.auth.valicode.validate.code.generator.CodeGenerator;
import com.yvon.maple.service.auth.valicode.validate.code.image.ImageCodeVo;
import com.yvon.maple.service.auth.valicode.validate.code.repository.CodeRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 图片验证码处理器
 * @author : Yvon
 * @since 2019/5/26
 */
@Component(ImageCodeProcessor.PROCESSOR)
@Slf4j
public class ImageCodeProcessor extends AbstractCodeProcessor<ImageCodeVo> {


	public static final String PROCESSOR = "imageCodeProcessor";

	public ImageCodeProcessor(Map<String, CodeGenerator> validateCodeGenerators, CodeRepository codeRepository) {
		super(validateCodeGenerators, codeRepository);
	}

	/**
	 * 发送图形验证码
	 */
	@Override
	protected void send(ImageCodeVo imageCode) {
	}

}
